package com.newyear.FitnessEquipmentManager.entity;

public class FitnessEquipment {

  private long id;
  private String name;
  private double price;
  private long count;
  private long status;
  private String buyTime;


  public FitnessEquipment() {
  }

  public FitnessEquipment(long id, String name, double price, long count, long status, String buyTime) {
    this.id = id;
    this.name = name;
    this.price = price;
    this.count = count;
    this.status = status;
    this.buyTime = buyTime;
  }

  /**
   * 获取
   * @return id
   */
  public long getId() {
    return id;
  }

  /**
   * 设置
   * @param id
   */
  public void setId(long id) {
    this.id = id;
  }

  /**
   * 获取
   * @return name
   */
  public String getName() {
    return name;
  }

  /**
   * 设置
   * @param name
   */
  public void setName(String name) {
    this.name = name;
  }

  /**
   * 获取
   * @return price
   */
  public double getPrice() {
    return price;
  }

  /**
   * 设置
   * @param price
   */
  public void setPrice(double price) {
    this.price = price;
  }

  /**
   * 获取
   * @return count
   */
  public long getCount() {
    return count;
  }

  /**
   * 设置
   * @param count
   */
  public void setCount(long count) {
    this.count = count;
  }

  /**
   * 获取
   * @return status
   */
  public long getStatus() {
    return status;
  }

  /**
   * 设置
   * @param status
   */
  public void setStatus(long status) {
    this.status = status;
  }

  /**
   * 获取
   * @return buyTime
   */
  public String getBuyTime() {
    return buyTime;
  }

  /**
   * 设置
   * @param buyTime
   */
  public void setBuyTime(String buyTime) {
    this.buyTime = buyTime;
  }

  public String toString() {
    return "FitnessEquipment{id = " + id + ", name = " + name + ", price = " + price + ", count = " + count + ", status = " + status + ", buyTime = " + buyTime + "}";
  }
}
